package com.lxl.servlet;

import com.lxl.core.ShortJob;
import com.lxl.core.TaskExecutor;

import javax.servlet.AsyncContext;
import javax.servlet.annotation.WebServlet;

@WebServlet(asyncSupported = true)
public class ShortJobServlet extends BaseShortServlet {

    @Override
    protected TaskExecutor getTask(AsyncContext context) {
        return new ShortJob(context);
    }
}
